/**
 * 
 */
package com.shine.icis.blo.imp;

import java.io.BufferedWriter;
import java.io.IOException;
import java.util.List;

import com.shine.icis.blo.IExpSubmitDataService;
import com.shine.icis.dao.IExpSubmitDataDAO;

/**
 * @author zsy
 *
 */
public class ExpSubmitDataService implements IExpSubmitDataService {
	
	private IExpSubmitDataDAO expSubmitDataDAO;

	public void setExpSubmitDataDAO(IExpSubmitDataDAO expSubmitDataDAO) {
		this.expSubmitDataDAO = expSubmitDataDAO;
	}

	@Override
	public void csInit(String sql, List<Object> params) {
		expSubmitDataDAO.init(sql, params);
		
	}

	@Override
	public void csWriteToFile(BufferedWriter fw) throws IOException {
		expSubmitDataDAO.writeToFile(fw);
	}

	@Override
	public long getSQLDataCount() {
		return expSubmitDataDAO.findSQLDataCount();
	}
	
	
	
}
